// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_PUR_QUOTATION
// * CreateDate    : 2014-06-05 18:30:26
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:26
// * LastChanger   : 2014-06-05 18:30:26
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class PurQuotationTable : TableInfo
    {
		public const string C_TableName = "PUR_QUOTATION";
		
		public const string C_ID = "ID";
		public const string C_CREATED_DATE = "CREATED_DATE";
		public const string C_CREATED_BY = "CREATED_BY";
		public const string C_UPDATED_DATE = "UPDATED_DATE";
		public const string C_UPDATED_BY = "UPDATED_BY";
		public const string C_IS_ACTIVE = "IS_ACTIVE";
		public const string C_RFQ_NO = "RFQ_NO";
		public const string C_QU_NO = "QU_NO";
		public const string C_SUPPLIER_ID = "SUPPLIER_ID";
		public const string C_SUPPLIER_NAME = "SUPPLIER_NAME";
		public const string C_SUPPLIER_NO = "SUPPLIER_NO";
		public const string C_QU_DPT = "QU_DPT";
		public const string C_QU_PERSON = "QU_PERSON";
		public const string C_PREPAYMENT = "PREPAYMENT";
		public const string C_QU_TOTAL_AMOUNT = "QU_TOTAL_AMOUNT";
		public const string C_CURRENCY = "CURRENCY";
		public const string C_PAYMENT_TYPE = "PAYMENT_TYPE";
		public const string C_IS_TAX = "IS_TAX";
		public const string C_EFT_DATE_FROM = "EFT_DATE_FROM";
		public const string C_EFT_DATE_TO = "EFT_DATE_TO";
		public const string C_REMARK = "REMARK";
		public const string C_STATUS = "STATUS";
		
		public PurQuotationTable()
        {
            _tableName = "PUR_QUOTATION";
        }
		
		protected static PurQuotationTable _current;
        public static PurQuotationTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new PurQuotationTable();

            _current.Add(C_ID, new ColumnInfo(C_ID,"Id", true, typeof(string)));
            _current.Add(C_CREATED_DATE, new ColumnInfo(C_CREATED_DATE,"CreatedDate", false, typeof(DateTime)));
            _current.Add(C_CREATED_BY, new ColumnInfo(C_CREATED_BY,"CreatedBy", false, typeof(string)));
            _current.Add(C_UPDATED_DATE, new ColumnInfo(C_UPDATED_DATE,"UpdatedDate", false, typeof(DateTime)));
            _current.Add(C_UPDATED_BY, new ColumnInfo(C_UPDATED_BY,"UpdatedBy", false, typeof(string)));
            _current.Add(C_IS_ACTIVE, new ColumnInfo(C_IS_ACTIVE,"IsActive", false, typeof(int)));
            _current.Add(C_RFQ_NO, new ColumnInfo(C_RFQ_NO,"RfqNo", false, typeof(string)));
            _current.Add(C_QU_NO, new ColumnInfo(C_QU_NO,"QuNo", false, typeof(string)));
            _current.Add(C_SUPPLIER_ID, new ColumnInfo(C_SUPPLIER_ID,"SupplierId", false, typeof(string)));
            _current.Add(C_SUPPLIER_NAME, new ColumnInfo(C_SUPPLIER_NAME,"SupplierName", false, typeof(string)));
            _current.Add(C_SUPPLIER_NO, new ColumnInfo(C_SUPPLIER_NO,"SupplierNo", false, typeof(string)));
            _current.Add(C_QU_DPT, new ColumnInfo(C_QU_DPT,"QuDpt", false, typeof(string)));
            _current.Add(C_QU_PERSON, new ColumnInfo(C_QU_PERSON,"QuPerson", false, typeof(string)));
            _current.Add(C_PREPAYMENT, new ColumnInfo(C_PREPAYMENT,"Prepayment", false, typeof(decimal)));
            _current.Add(C_QU_TOTAL_AMOUNT, new ColumnInfo(C_QU_TOTAL_AMOUNT,"QuTotalAmount", false, typeof(decimal)));
            _current.Add(C_CURRENCY, new ColumnInfo(C_CURRENCY,"Currency", false, typeof(string)));
            _current.Add(C_PAYMENT_TYPE, new ColumnInfo(C_PAYMENT_TYPE,"PaymentType", false, typeof(string)));
            _current.Add(C_IS_TAX, new ColumnInfo(C_IS_TAX,"IsTax", false, typeof(int)));
            _current.Add(C_EFT_DATE_FROM, new ColumnInfo(C_EFT_DATE_FROM,"EftDateFrom", false, typeof(DateTime)));
            _current.Add(C_EFT_DATE_TO, new ColumnInfo(C_EFT_DATE_TO,"EftDateTo", false, typeof(DateTime)));
            _current.Add(C_REMARK, new ColumnInfo(C_REMARK,"Remark", false, typeof(string)));
            _current.Add(C_STATUS, new ColumnInfo(C_STATUS,"Status", false, typeof(string)));
			
		}
		
		public ColumnInfo ID
        {
            get { return this[C_ID]; }
        }
		
		public ColumnInfo CREATED_DATE
        {
            get { return this[C_CREATED_DATE]; }
        }
		
		public ColumnInfo CREATED_BY
        {
            get { return this[C_CREATED_BY]; }
        }
		
		public ColumnInfo UPDATED_DATE
        {
            get { return this[C_UPDATED_DATE]; }
        }
		
		public ColumnInfo UPDATED_BY
        {
            get { return this[C_UPDATED_BY]; }
        }
		
		public ColumnInfo IS_ACTIVE
        {
            get { return this[C_IS_ACTIVE]; }
        }
		
		public ColumnInfo RFQ_NO
        {
            get { return this[C_RFQ_NO]; }
        }
		
		public ColumnInfo QU_NO
        {
            get { return this[C_QU_NO]; }
        }
		
		public ColumnInfo SUPPLIER_ID
        {
            get { return this[C_SUPPLIER_ID]; }
        }
		
		public ColumnInfo SUPPLIER_NAME
        {
            get { return this[C_SUPPLIER_NAME]; }
        }
		
		public ColumnInfo SUPPLIER_NO
        {
            get { return this[C_SUPPLIER_NO]; }
        }
		
		public ColumnInfo QU_DPT
        {
            get { return this[C_QU_DPT]; }
        }
		
		public ColumnInfo QU_PERSON
        {
            get { return this[C_QU_PERSON]; }
        }
		
		public ColumnInfo PREPAYMENT
        {
            get { return this[C_PREPAYMENT]; }
        }
		
		public ColumnInfo QU_TOTAL_AMOUNT
        {
            get { return this[C_QU_TOTAL_AMOUNT]; }
        }
		
		public ColumnInfo CURRENCY
        {
            get { return this[C_CURRENCY]; }
        }
		
		public ColumnInfo PAYMENT_TYPE
        {
            get { return this[C_PAYMENT_TYPE]; }
        }
		
		public ColumnInfo IS_TAX
        {
            get { return this[C_IS_TAX]; }
        }
		
		public ColumnInfo EFT_DATE_FROM
        {
            get { return this[C_EFT_DATE_FROM]; }
        }
		
		public ColumnInfo EFT_DATE_TO
        {
            get { return this[C_EFT_DATE_TO]; }
        }
		
		public ColumnInfo REMARK
        {
            get { return this[C_REMARK]; }
        }
		
		public ColumnInfo STATUS
        {
            get { return this[C_STATUS]; }
        }
		
		
		
	}
}

